package com.xinhe.web.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "认养数范围详情")
@Table(name = "tb_adopted_range")
public class AdoptedRange {
    @Id
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("最小值")
    private Integer minNum;
    @ApiModelProperty("最大值")
    private Integer maxNum;
    @ApiModelProperty("赠送云茶籽")
    private BigDecimal yunChaSeed;
    @ApiModelProperty("级别")
    private Integer level;
}
